@extends('layout.zhongxin')
@section('title', '我的订单')
@section('zhong')
  <div class="mt">
    <h3>订单详情</h3>
  </div>
  <table class="mc" width="80%" border="1" cellpadding="5" cellspacing="1" bgcolor="#dddddd" style="text-align:center">
    <tbody>
      <tr align="center">
        <td bgcolor="#ffffff">订单号</td>
        <td bgcolor="#ffffff">商品ID</td>
        <td bgcolor="#ffffff">商品名</td>
        <td bgcolor="#ffffff">商品数量</td>
        <td bgcolor="#ffffff">小计</td>
        <td bgcolor="#ffffff">操作</td>
      </tr>
      @foreach($data as $k=>$v)

      <tr>
        <td class="  sorting_1">{{$v['order_code']}}</td>
        <td class=" ">{{$v['goods_id']}}</td>
        <td class=" ">{{$v['proname']}}</td>
        <td class=" ">{{$v['num']}}</td>
        <td class=" ">{{$v['xiaoji']}}</td>
        <td class=" ">
        <a href="/evaluate/add?id={{$v['goods_id']}}">评价</a>
        </td>
      </tr>
      @endforeach
    </tbody>
  </table>

@endsection
